<script src="/Public/js/chart/Chart.min.js"></script>
<script src="/Public/js/chart/jquery.easypiechart.min.js"></script>
<!--[if lte IE 8]>
<script src="/Public/js/chart/excanvas.compiled.js"></script>
<![endif]-->
<div class="admin">
    
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>近一个月销量走势图</strong></div>
        <div class="padding border-bottom">
            <canvas id="canvas" height="300" width="1050"></canvas>
        </div>
    </div>
    <div style="width:100%; height: 25px;"></div>
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>近一个月新增用户走势图</strong></div>
        <div class="padding border-bottom">
            <canvas id="canvau" height="300" width="1050"></canvas>
        </div>
    </div>
    <div style="width:100%; height: 25px;"></div>
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>近一个月网站访问量走势图</strong></div>
        <div class="padding border-bottom">
            <canvas id="canvav" height="300" width="1050"></canvas>
        </div>
    </div>
    
</div>

<script>
    var lineChartData = {$chartArray};
    var myLine = new Chart(document.getElementById("canvas").getContext("2d")).Line(lineChartData);
    
    var lineChartData2 = {$usersArray};
    var myLine = new Chart(document.getElementById("canvau").getContext("2d")).Line(lineChartData2);
    
    var lineChartData3 = {$viewsArray};
    var myLine = new Chart(document.getElementById("canvav").getContext("2d")).Line(lineChartData3);
</script>

